<!DOCTYPE HTML>
<html lang="zh-hans" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta content="webkit|ie-comp|ie-stand" name="renderer">
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
          name="viewport"/>
    <meta content="no-siteapp" http-equiv="Cache-Control"/>
    <link rel="Bookmark" th:href="@{/favicon.ico}">
    <link rel="Shortcut Icon" th:href="@{/favicon.ico}"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" th:src="@{/lib/html5shiv.js}"></script>
    <script type="text/javascript" th:src="@{/lib/respond.min.js}"></script>
    <![endif]-->
    <link rel="stylesheet" th:href="@{/css/simpleControl.css}">
    <link rel="stylesheet" th:href="@{/lib/Hui-iconfont/1.0.8/iconfont.css}" type="text/css"/>
    <link rel="stylesheet" th:href="@{/Semantic-UI-CSS-master/semantic.min.css}">
    <link rel="stylesheet" th:href="@{/css/myEvents.css}">
    <link rel="stylesheet" th:href="@{/h-ui/css/H-ui.min.css}" type="text/css"/>
    <link rel="stylesheet" th:href="@{/h-ui.admin/css/H-ui.admin.css}" type="text/css"/>
    <link rel="stylesheet" th:href="@{/lib/Hui-iconfont/1.0.8/iconfont.css}" type="text/css"/>
    <link id="skin" rel="stylesheet" th:href="@{/h-ui.admin/skin/green/skin.css}" type="text/css"/>
    <link rel="stylesheet" th:href="@{/h-ui.admin/css/style.css}" type="text/css"/>
    <script th:src="@{/js/jquery.js}"></script>
    <script th:src="@{/Semantic-UI-CSS-master/semantic.min.js}"></script>
    <!--[if IE 6]>
    <script type="text/javascript" th:src="@{/lib/DD_belatedPNG_0.0.8a-min.js}"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>活动编辑</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 活动管理 <span
        class="c-gray en">&gt;</span><a id="back_text" th:text="${signsTitle}"></a><a class="btn btn-success radius r"
                                                                                      style="line-height:1.6em;margin-top:3px"
                                                                                      onclick="PageRefresh()" title="刷新"><i
        class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="m-container-small m-padded-tb-big">
    <div class="ui container">
        <div class="ui form segment">
            <div class="fields inline">
                <form>
                    <div class="field">
                        <input class="input-text" name="keywords" placeholder="请输入关键字" th:value="${keywords}"
                               type="text">
                    </div>
                    <div class="field right aligned">
                        <button class="ui small teal basic button"><i class="search icon"></i>搜索
                        </button>
                    </div>
                </form>

            </div>
        </div>
        <div id="table-container">
            <table class="ui table celled center aligned" th:fragment="table_refresh" th:id="id_table_refresh">
                <thead>
                <tr>
                    <th>标题</th>
                    <th>更新时间</th>
                    <th>状态</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr th:each="m : ${result.data.list}">
                    <td th:text="${m.eventsTitle}"></td>
                    <td th:text="${#dates.format(m.eventsSendDate,'yyyy-MM-dd ')}"></td>
                    <td th:text="${m.signStatus == '1'}?'已报名':'未报名'"></td>
                    <td>
                        <a class="ui button teal inverted mini "
                           th:href="@{'/sign/signsCheck/'+${m.eventsID}}">查看</a>
                        <button class="ui button  blue basic mini " th:attr="data-id=${m.eventsID}"
                                th:onClick="${m.signStatus == '1'} ? 'unsignEvent(this)' : 'signEvent(this)'"
                                th:text="${m.signStatus == '1'} ? '取消报名' : '报名'">
                        </button>
                    </td>
                </tr>
                </tbody>
                <tfoot>
                <tr>
                    <th colspan="6">
                        <div class="ui pagination menu mini">
                            <a class="ui item "
                               th:onclick="${result.data.isFirstPage}? '' :|topage(${result.data.prePage})|">上一页</a>
                            <a class="ui item "
                               th:onclick="${result.data.isLastPage} ? '' : |topage(${result.data.nextPage})|">下一页</a>
                        </div>
                    </th>
                </tr>
                </tfoot>
            </table>
        </div>
    </div>
</div>
<div class="ui divider "></div>

<!--请在下方写此页面业务相关的脚本-->
<script th:src="@{/js/signsListForMembers.js}"></script>
<script th:src="@{/lib/layer/2.4/layer.js}" type="text/javascript"></script>
</body>
</html>